<template>
  <div>
    {{ value }}
    <!-- <button @click="value+1">加一 </button> -->
    <button @click="$emit('input',value+1)">加一 </button>
  </div>
</template>

<script>
export default {
    name:"Two",
    props:["value"]
}
</script>

<style>

</style>